import {designPage} from "@peryl/react-compose";
import {usePageService} from "../../../modules/micro/usePageService";

/**
 * 访问示例
 http://localhost:4001/micro-web-react-base/home/path/xxx/yyy-page?token=admin
 * @author  韦胜健
 * @date    2024/5/10 11:31
 */
export default designPage(() => {

  const { pageParam } = usePageService();

  return () => <>
    <p>这是一个专供 home/page/:pagePath 路由访问的页面【yyy】</p>
    <p>
      pageParam:{JSON.stringify(pageParam)}
    </p>
  </>;
});
